package com.lds.erp.common.vo;

import com.dph.common.utils.service.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author hongsir
 * @apiNote 当前用户的菜单
 * PS:树形结构的数据,swagger无法显示,请不要定义泛型
 * @date 2018/9/29 上午10:54
 */
@ApiModel(description = "当前用户的菜单")
public class LoginMenuVO extends Base {
    private static final long serialVersionUID = -8700981740834031011L;
    @ApiModelProperty(name = "moduleId", value = "模块ID")
    private String moduleId;
    @ApiModelProperty(name = "moduleName", value = "模块名称")
    private String moduleName;
    @ApiModelProperty(name = "parentId", value = "上级菜单ID")
    private String parentId;
    @ApiModelProperty(name = "menuId", value = "菜单ID")
    private String menuId;
    @ApiModelProperty(name = "menuName", value = "菜单名称")
    private String menuName;
    @ApiModelProperty(name = "menuIcon", value = "菜单图标")
    private String menuIcon;
    @ApiModelProperty(name = "menuLink", value = "菜单连接")
    private String menuLink;
    @ApiModelProperty(name = "menuSort", value = "菜单排序")
    private Integer menuSort;
    @ApiModelProperty(name = "children", value = "下级菜单")
    private List<LoginMenuVO> children;

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public Integer getMenuSort() {
        return menuSort;
    }

    public void setMenuSort(Integer menuSort) {
        this.menuSort = menuSort;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public String getMenuLink() {
        return menuLink;
    }

    public void setMenuLink(String menuLink) {
        this.menuLink = menuLink;
    }

    public List<LoginMenuVO> getChildren() {
        return children;
    }

    public void setChildren(List<LoginMenuVO> children) {
        this.children = children;
    }

}
